package erathia.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import erathia.dao.MemberDao;
import erathia.model.Member;

@Controller
public class MemberController {
	private MemberDao daoM;

	public void setDaoM(MemberDao daoM) {
		this.daoM = daoM;
	}
	
	@RequestMapping("/tryLogin.do")
	public ModelAndView tryLogin(Member member){
		ModelAndView mav = new ModelAndView();
		
		mav.setViewName("main");
		return mav;
	}
	
}
